const store = {
    state: {
        // 放数据
    },
    actions: {
        // 放同步方法
    } as any,

    asyncActions: {
        // 放异步方法
    },
    actionsNames: {} as any

}
let actionNames: any = {}
// 遍历store，有多少键值对，取决于actions的函数
for (let key in store.actions) {
    actionNames[key] = key
}
store.actionsNames = actionNames
export default store